<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>后台登录</title>
<style type="text/css">
*{ margin:0; padding:0;}
a{ color:#016e97; text-decoration:none; font-size:12px;}
a:hover{ color:#c60b0b; text-decoration:underline;}
img{ border:none;}
input{ border:1px solid #cccccc; padding:5px; width:180px;}
body{ background:url(../Public/images/bg.jpg) no-repeat center center; width:100%; font:14px/18px Tahoma, Geneva, sans-serif; color:#666666;overflow:hidden; height:800px; min-height:100%; }
.left{ float:left;}
.right{ float:right;}
.main{ width:750px; margin:0 auto; position:relative; padding-top:200px; height:480px;}
.login{ background:url(../Public/images/login-bg.png) no-repeat; width:745px; height:361px; position:relative;}
.login table{ position:absolute; top:40px; left:140px;}
.login table td{ padding:8px;}
.yanz{ margin-top:5px;}
.yanz1{ margin-top:10px;}
.btn{ background:url(../Public/images/btn.jpg) no-repeat; width:88px; height:28px; cursor:pointer;}
.logo{ position:absolute; right:20px; bottom:100px;}
</style>
<script language="JavaScript">
<!--
	if(top!=self)
	if(self!=top) top.location=self.location;
//-->
</script>
</head>

<body onload="javascript:document.myform.login_name.focus();">
<div class="main">
    <div class="login">
	<form action="<?php echo U('public/login');?>" method="post" name="myform">
     <table border="0" cellpadding="0" cellspacing="0">
       <tbody>
         <tr>
          <td align="right">用户名：</td>
          <td><input type="text" name="login_name"/></td>
         </tr>
         <tr>
          <td align="right">密码：</td>
          <td><input name="login_pwd" type="password" /></td>
         </tr>
         <tr>
          <td align="right" valign="top">验证码：</td>
          <td><input name="vcode" type="text" />
          <div class="yanz">
		  <span class="left"><img id='code_img' src='<?php echo U('public/vcode');?>'></span>
		  <span class="right yanz1"><a href="javascript:document.getElementById('code_img').src='<?php echo U('public/vcode');?>&time='+Math.random();void(0);">看不清，换一张</a></span></div>
          </td>
         </tr>
         <tr>
           <td>&nbsp;</td>
           <td><input name="dosubmit" type="submit" type="button" value=" " style="border:0; width:88px; padding:0; height:28px;" class="btn" /></td>
         </tr>
       </tbody>
     </table>
	 </form>
    </div>
   </div>
</body>
</html>
<script type="text/javascript" charset=utf-8 src="/statics/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
$(function() {
	document.getElementById('code_img').src='<?php echo U('public/vcode');?>&time='+Math.random();void(0);
});
</script>